package com.yuxinmuyu.sports_management.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yuxinmuyu.sports_management.bean.entiy.SportsProject;
import com.yuxinmuyu.sports_management.bean.entiy.SportsYear;
import com.yuxinmuyu.sports_management.bean.response.SportsInfoResponse;
import org.apache.ibatis.annotations.Param;

public interface SportsYearMapper extends BaseMapper<SportsYear> {

    Page<SportsInfoResponse> selectPageList(Page<SportsInfoResponse> page, @Param("yearTermID") String yearTermID, @Param("sportsName") String sportsName);

    Integer getflag(Integer sportsID, String yearTermID, String userId);
}
